/* 
    ConstantTracker.cpp
	Author: Mike Ciaraldi

	Returbns constant values, for testing purposes.

*/

#include <iostream>
#include <cstring>
#include <string>
#include "ConstantTracker.h"

using namespace std;

// Constructor(s) and Destructor
ConstantTracker::ConstantTracker(void) {}; 
ConstantTracker::~ConstantTracker(void) {};
	
 // Methods

int ConstantTracker::open() { return true; }

int ConstantTracker::close()  { return true; }

int ConstantTracker::poll(float *out) {
  out[0] = 0.50;
  out[1] = 0.50;
  out[2] = 0.50;
  out[3] = 0.0;
  out[4] = 0.0;
  out[5] = 0.0;

  return true; 
};

char *ConstantTracker::getErrorInfo(void) {
	return errorMsg;

};

